package myclassloader;

/**
 * @Author: cctv
 * @Date: 2019/5/14 15:11
 */
public class Robot {
    static {
        System.out.println("Hello Robot");
    }

    private String name;

    public void setName(String name) {
        this.name = name;
    }

    public void sayHi() {
        System.out.println("Hello, i am " + this.name);
    }

    private String threHello(String tag) {
        return "Hello " + tag;
    }

}
